const COMPONENT_PREFIX = 'Hi';

/**
 * 获取组件前缀
 * @returns 组件前缀
 */
export const getComponentPrefix = () => COMPONENT_PREFIX;


/**
 * 获取组件类名前缀
 * @param componentName 组件名称
 * @returns 组件类名前缀
 */
export const getPrefixCls = (componentName: string): string => {
    const prefix = componentName.toLowerCase();
    return `hi-${prefix}`;
};
